package com.thti.mecool.client.command.send.system;

import com.thti.mecool.client.protocol.system.GetMessage;
import com.thti.mecool.client.protocol.system.ProjectProtocol;
import com.thti.mecool.client.service.Protocol;
import com.thti.mecool.client.service.ThtiService;

public class GetSend {
	
	public static void getProject(String userLoginName)
	{
		ProjectProtocol projectProtocol=new ProjectProtocol();
		projectProtocol.setUserLoginName(userLoginName);
		ThtiService.sendProtocol(Protocol.getProject,projectProtocol);
	}
	
    public static void getMessage(String id){
    	GetMessage getMessage=new GetMessage();
    	getMessage.setId(id);
    	ThtiService.sendProtocol(Protocol.getMessage,getMessage);
    }
}
